#ifndef YNBW_EXCEPTION_HPP
#define YNBW_EXCEPTION_HPP

#include "std.hpp"
#include "ExceptionNumbers.hpp"

class YnbwException : public std::exception
{
  public:
    YnbwException() throw();
    YnbwException(const int exceptionNumber) throw();
    virtual ~YnbwException() throw();

    virtual const int getExceptionNumber() const throw();
    virtual const char *what() const throw();

  protected:
    const int exceptionNumber_;
};

#endif
